]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: Make computeLayout() return a layout object
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 1 Feb 2021 10:07:33 +0000 (11:07 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 1 Feb 2021 13:12:43 +0000 (13:12 +0000)
commit8d9a92fe98b27a45070ec61ba83375f7cf1ea442
treea2d33118ace0db18fbd217447a1d7c0550e7d8bb
parentac7dc62da6136c40eae59d01b7227f6b0bcb7e14
workspace: Make computeLayout() return a layout object

Start cleaning up the whole mess around the layout object a bit and
return a new object in the LayoutStrategies computeLayout()
implementation. This object is supposed to be opaque to the API user and
will only be passed to the layout strategy.

For now, keep setting a few things on that object from outside, we'll
clean that up later.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1617>
js/ui/workspace.js